package io.gitee.yth.design.pattern.test.core.pattern.creational.builder;

/**
 * 指定建造房子步骤中的具体实现逻辑
 *
 * @author yth
 * @since 2023-04-24-17:31
 */
public class CommonHouseBuilder extends AbstractHouseBuilder {

    @Override
    public void buildBasic() {
        System.out.println("CommonHouseBuilder.buildBasic()");
        house.setBasic("common basic");
    }

    @Override
    public void buildWall() {
        System.out.println("CommonHouseBuilder.buildWall()");
        house.setWall("common wall");
    }

    @Override
    public void buildRoofed() {
        System.out.println("CommonHouseBuilder.buildRoofed()");
        house.setRoofed("common roofed");
    }

}
